﻿namespace SPICA.PICA.Shader
{
    public enum ShaderOpCode
    {
        Add     = 0x00,
        DP3     = 0x01,
        DP4     = 0x02,
        DPH     = 0x03,
        Dst     = 0x04,
        Ex2     = 0x05,
        Lg2     = 0x06,
        LitP    = 0x07,
        Mul     = 0x08,
        SGE     = 0x09,
        SLT     = 0x0a,
        Flr     = 0x0b,
        Max     = 0x0c,
        Min     = 0x0d,
        Rcp     = 0x0e,
        RSq     = 0x0f,
        MovA    = 0x12,
        Mov     = 0x13,
        DPHI    = 0x18,
        DstI    = 0x19,
        SGEI    = 0x1a,
        SLTI    = 0x1b,
        Break   = 0x20,
        NOp     = 0x21,
        End     = 0x22,
        BreakC  = 0x23,
        Call    = 0x24,
        CallC   = 0x25,
        CallU   = 0x26,
        IfU     = 0x27,
        IfC     = 0x28,
        Loop    = 0x29,
        Emit    = 0x2a,
        SetEmit = 0x2b,
        JmpC    = 0x2c,
        JmpU    = 0x2d,
        Cmp     = 0x2e,
        MAdI    = 0x30,
        MAd     = 0x38
    }
}
